package cn.agiledata.bank.common.servlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionServlet;

public class CharacterEncodingServlet extends ActionServlet {
	protected void process(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException {
	    /**@todo Override this org.apache.struts.action.ActionServlet method*/
	    request.setCharacterEncoding("GB2312");//就加着一行一切都解决了
	    super.process(request, response);
	  }
}
